
public class UserListMessage extends Message {
	private String[] users;

	public UserListMessage(String sender, String[] users) {
		super(sender);
		this.users = users;
	}

	public String[] getUsers() {
		return users;
	}
	
	@Override
	public String toString() {
		String usersStr = "";
		for(String name:users){
			usersStr+=" " + name;
		}
		return "Amigos online: " + usersStr;
	}
}
